package com.bilibili.xzz.service;

import com.bilibili.xzz.entity.MessageBoard;

import java.util.List;

public interface MessageBoardService {

    MessageBoard getMessageBoardById(Long id);

    List<MessageBoard> getAllMessageBoard();

    List<MessageBoard> getCheckedMessageBoard();

    int insertMessageBoard(MessageBoard messageBoard);

    int updateMessageBoard(String id, Integer agree);

    int disagreeMessageBoard(String id, Integer disagree);

    int deleteMessage(String name);

    int setTop(MessageBoard messageBoard);

    int setChecked(MessageBoard messageBoard);
}
